import request from '@/utils/request'

const BASE_URL = '/sign'

export function signIn(data) {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}
export function signOut() {
  return request({
    url: `${BASE_URL}/signOut`,
    method: 'post'
  })
}

export function getInfo() {
  return request({
    url: `${BASE_URL}/info`,
    method: 'get'
  })
}
